@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

:root {
    --bg-dark: #0d0d0d;
    --bg-olive: #1f241d;
    --accent-gold: #a1864f;
    --accent-brown: #6b4423;
    --text-light: #e6e1d1;
    --text-muted: #8a8f8c;
}

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

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-olive) 100%);
    color: var(--text-light);
    font-family: 'Orbitron', monospace;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(161, 134, 79, 0.15), transparent 60%),
        radial-gradient(circle at 70% 20%, rgba(107, 68, 35, 0.1), transparent 50%);
    opacity: 0.3;
    z-index: -2;
}

/* Animated background particles */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-gold);
    box-shadow: 0 2px 20px rgba(161, 134, 79, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    align-items: center;
    height: 60px;
    background-color: black;
    max-width: 1200px;
    justify-content: space-between;
    padding: 0 2rem;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    font-weight: 900;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(161,134,79,0.4);
}

.logo img {
    height: 80%;
    width: auto;
    margin-right: 10px;
}

.logo span {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(161,134,79,0.6);
}

.nav-links a.active, .nav-links a:active {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(161,134,79,0.6);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    box-shadow: 0 0 10px rgba(161,134,79,0.8);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
        url('https://syndykat-transportowy.pages.dev/hero-bg.jpeg') center/cover;
}

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

.hero-content img {
    height: 300px;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(161, 134, 79, 0.8), 0 0 40px rgba(107, 68, 35, 0.4);
    animation: menacingGlow 2s ease-in-out infinite alternate;
}

@keyframes menacingGlow {
    from { 
        text-shadow: 0 0 20px rgba(161, 134, 79, 0.8), 0 0 40px rgba(107, 68, 35, 0.4);
        color: var(--accent-gold);
    }
    to { 
        text-shadow: 0 0 30px rgba(161, 134, 79, 1), 0 0 60px rgba(107, 68, 35, 0.6), 0 0 80px rgba(161, 134, 79, 0.3);
        color: #c4976b;
    }
}

.hero .tagline {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-brown), var(--accent-gold));
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(161, 134, 79, 0.4);
    border: 1px solid var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-brown));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-brown));
    box-shadow: 0 5px 25px rgba(161,134,79,0.6);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.cta-button:hover::before {
    opacity: 1;
}

/* Sections */
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section h2 {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(161, 134, 79, 0.5);
}

.services {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
        url('https://syndykat-transportowy.pages.dev/services_bg.jpg') center/cover;
    border-left: 5px solid var(--accent-gold);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(161, 134, 79, 0.1), rgba(107, 68, 35, 0.05));
    pointer-events: none;
}

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

.service-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(161, 134, 79, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 20px rgba(107, 68, 35, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(161, 134, 79, 0.3), inset 0 0 30px rgba(107, 68, 35, 0.2);
    background: rgba(31, 36, 29, 0.8);
}

.service-card h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(161, 134, 79, 0.5);
}

.about {
    text-align: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
        url('https://syndykat-transportowy.pages.dev/about_bg.jpg') center/cover;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(107, 68, 35, 0.1), transparent);
    pointer-events: none;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(161, 134, 79, 0.3);
    box-shadow: inset 0 0 20px rgba(107, 68, 35, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    display: block;
    text-shadow: 0 0 10px rgba(161, 134, 79, 0.6);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Contact */
.contact {
    background: 
        linear-gradient(45deg, rgba(161, 134, 79, 0.2), rgba(0, 0, 0, 0.9)),
        url('https://syndykat-transportowy.pages.dev/hero-bg.jpeg') center/cover;
    border: 1px solid var(--accent-gold);
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 68, 35, 0.3), rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(161, 134, 79, 0.3);
    box-shadow: inset 0 0 15px rgba(107, 68, 35, 0.2);
    position: relative;
    z-index: 1;
}

.contact-item h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(161, 134, 79, 0.5);
}

.contact-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: rgba(107, 68, 35, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(161, 134, 79, 0.5);
    box-shadow: 0 0 15px rgba(161, 134, 79, 0.3);
}

.contact-link:hover {
    background: rgba(161, 134, 79, 0.4);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(161, 134, 79, 0.5);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #000 0%, var(--bg-olive) 100%);
    border-top: 2px solid var(--accent-gold);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    box-shadow: 0 -5px 20px rgba(161, 134, 79, 0.1);
}

.warning {
    background: rgba(107, 68, 35, 0.2);
    border: 2px solid var(--accent-gold);
    padding: 1rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    color: var(--accent-gold);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(161, 134, 79, 0.3), inset 0 0 20px rgba(107, 68, 35, 0.1);
    animation: warningPulse 3s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { 
        border-color: var(--accent-gold);
        box-shadow: 0 0 20px rgba(161, 134, 79, 0.3), inset 0 0 20px rgba(107, 68, 35, 0.1);
    }
    50% { 
        border-color: #c4976b;
        box-shadow: 0 0 30px rgba(161, 134, 79, 0.5), inset 0 0 30px rgba(107, 68, 35, 0.2);
    }
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1).active {
    transform: translateY(9px) rotate(45deg);
}

.hamburger span:nth-child(2).active {
    opacity: 0;
}

.hamburger span:nth-child(3).active {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 2px solid var(--accent-gold);
    box-shadow: -5px 0 20px rgba(161, 134, 79, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu li {
    margin: 1.5rem 0;
    text-align: center;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(161, 134, 79, 0.8);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .cta-button {
        display: block;
        margin: 1rem auto !important;
        background: linear-gradient(45deg, var(--accent-brown), var(--accent-gold));
        box-shadow: 0 0 30px rgba(161, 134, 79, 0.8), inset 0 0 30px rgba(107, 68, 35, 0.5);
        font-size: 1.1rem;
        padding: 1.2rem 1rem;
        width: 90%;
        max-width: 300px;
        border: 2px solid var(--accent-gold);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
        animation: buttonPulse 2s infinite alternate;
    }
    
    @keyframes buttonPulse {
        0% {
            box-shadow: 0 0 20px rgba(161, 134, 79, 0.7), inset 0 0 20px rgba(107, 68, 35, 0.4);
        }
        100% {
            box-shadow: 0 0 30px rgba(161, 134, 79, 1), inset 0 0 30px rgba(107, 68, 35, 0.6);
        }
    }
    
    .contact-link {
        color: #c4976b;
        text-shadow: 0 0 10px rgba(196, 151, 107, 0.5);
        font-size: 1.1rem;
    }
}

/* Fix for ultra-wide screens */
@media (min-width: 2560px) {
    .logo span {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .section h2 {
        font-size: 2.5rem;
    }
}
