/* --------------------INDEX-------------------------- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background:
        linear-gradient(135deg, #f5f5f5, #cccaca),
        url("../img/Marble.jpg");
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: #2a2a2a;
    line-height: 1.6;
    margin: 0;
}

/* Layout container */
.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.hero {
    padding: 120px 20px;
    text-align: center;
    background: url("../img/GrayMarble.jpg") center/cover no-repeat , linear-gradient(135deg, #3a3f45, #4a5057);
    color: #f8fafc;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 18px;
    color: #d1d5db;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #0ea5a4;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #0b8c8b;
    transform: translateY(-2px);
}

/* Services */
.services {
    padding: 90px 20px;
    text-align: center;
}

.services h2 {
    margin-bottom: 50px;
    font-size: 36px;
    color: #2a2a2a;
}

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

.card {
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
    border-color: #0ea5a4;
}

/* Why */
.why {
    padding: 90px 20px;
    text-align: center;
}

.why h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* CTA */
.cta {
    padding: 110px 20px;
    text-align: center;
    background: #3a3f45;
    color: #f8fafc;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: #0ea5a4;
}

.cta .btn-primary:hover {
    background: #0b8c8b;
}


/* --------------------HEADER------------------------- */
.site-header {
    background-color: #2b2b2b; 
    border-bottom: 1px solid #3a3a3a; 
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s; 
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
/* Logo container */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo text */
.logo a {
    font-size: 20px;
    font-weight: 600;
    color: #f5f5f5;
    text-decoration: none;
}

/* Logo image */
.logo img {
    width: 50px !important;
    height: auto !important;
}

/* Navigation */
.nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #d0d0d0; 
    font-size: 15px;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #2ecc71; 
}


/* --------------------FOOTER------------------------- */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.site-footer a {
    color: #2ecc71;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #777;
}

/* --------------------RESPONSIVE--------------------- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .service-grid {
        gap: 20px;
    }

    /* Header */
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .nav ul li {
        width: 100%;
    }

    .nav a {
        font-size: 16px;
        display: block;
        width: 100%;
    }

    .logo {
        justify-content: flex-start;
        gap: 8px;
    }

    .logo img {
        width: 40px; /* shrink for mobile */
        height: auto;
    }

    /* Footer */
    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-left, .footer-right {
        width: 100%;
    }

    .footer-bottom {
        text-align: left;
    }
}
/*Video */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;      /* fill container width */
    height: 600px;    /* taller height for bigger video */
}
 .perekodu {
  width: 50%;  
 }

