/* 
   Nova Serwis Theme - Dark Premium Engineering Style 
   Colors: Slate Dark Backgrounds + Copper/Orange Accents
*/

:root {
    --bg-body: #0f172a;
    /* Slate 900 */
    --bg-card: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity for glassmorphism */
    --bg-nav: rgba(15, 23, 42, 0.85);
    /* More transparent for glass effect */

    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    --primary: #f97316;
    /* Orange 500 */
    --primary-hover: #ea580c;
    /* Orange 600 */
    --secondary: #334155;
    /* Slate 700 */

    --accent-glow: rgba(249, 115, 22, 0.4);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.16);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 6rem 0;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--text-muted);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: #fff;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)),
        url("../images/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Glassmorphism Cards */
.about-card,
.service-box,
.pricing-item {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: var(--glass-border);
    transition: var(--transition);
}

/* Features/About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.about-card {
    padding: 3rem;
    border-radius: var(--radius);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.about-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Services */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-box {
    border-radius: var(--radius);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.7;
    transition: var(--transition);
}

.service-box:hover::before {
    opacity: 1;
    width: 6px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-box:hover .service-icon {
    background: rgba(249, 115, 22, 0.1);
    transform: scale(1.1);
}

.service-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.service-box ul li i {
    color: var(--primary);
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.pricing-item {
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pricing-item.featured {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(42, 56, 82, 0.9));
    border: 1px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-item:hover {
    transform: translateY(-5px);
}

.pricing-item.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.netto {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: var(--glass-border);
    border-radius: var(--radius);
}

.pricing-note strong {
    color: var(--primary);
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition);
}

.detail-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.detail-item i {
    width: 50px;
    height: 50px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.detail-item span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
}

.detail-item a,
.detail-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.map-container iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    opacity: 0.8;
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%) invert(0%);
    opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-top: var(--glass-border);
    padding: 1.5rem;
    text-align: center;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: bottom 0.5s ease-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 800px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    border-top: var(--glass-border);
    padding: 4rem 0;
    background: #0b1120;
    text-align: center;
}

/* Tablet & Mobile */
@media (max-width: 1024px) {
    .pricing-item.featured {
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-nav);
        flex-direction: column;
        padding: 2rem;
        border-bottom: var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }
}

/* Utilities */
.icon-flip {
    transform: scaleX(-1);
    display: inline-block;
}

/* Owner Section */
.full-width-col {
    grid-column: 1 / -1;
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(30, 41, 59, 0.4);
    padding: 2rem;
    border-radius: var(--radius);
    border: var(--glass-border);
    margin-bottom: 2rem;
}

.owner-image {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    position: relative;
    background: #0f172a;
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.placeholder-img i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.placeholder-img span {
    font-size: 0.8rem;
    padding: 0 1rem;
}

.owner-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.owner-text .subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.owner-text p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .full-width-col {
        flex-direction: column;
        text-align: center;
    }
}