/* Global styles - Definuje základné farby a premenné pre celú stránku */
:root {
    --primary-color: #000000;    /* Hlavná farba (čierna) */
    --secondary-color: #ffffff;  /* Sekundárna farba (biela) */
    --background-color: #0a0a0a; /* Farba pozadia (tmavá) */
    --alternate-bg: #1a1a1a;     /* Alternatívna farba pozadia */
    --navbar-bg: rgba(10, 10, 10, 0.8); /* Farba pozadia navigácie s priehľadnosťou */
    --footer-bg: #0a0a0a;        /* Farba pozadia pätičky */
}

@font-face {
    font-family: '911Porsche';
    src: url('../fonts/911porschav3title.ttf') format('truetype');
}

@font-face {
    font-family: 'SourceSansPro-Black';
    src: url('../fonts/SourceSansPro-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'MonumentExtended';
    src: url('../fonts/MonumentExtended-FreeForPersonalUse/MonumentExtended-Regular.otf') format('opentype');
}

/* Základné nastavenia pre celú stránku */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Nastavenia pre HTML a BODY - zabezpečuje správne zobrazenie na celej šírke */
html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Základné nastavenia pre BODY - definuje font, farby a flexbox layout */
body {
    font-family: 'SourceSansPro-Regular', sans-serif;
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Štýly pre navigačnú lištu - fixná pozícia a efekt rozmazania pozadia */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
}

.navbar-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
    gap: 1rem;
}

.logo img {
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: '911Porsche', sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
}

/* Hero section */
.hero, .services-hero, .contact-hero, .about-hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content, .services-hero-content, .contact-hero-content, .about-hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    z-index: 1;
}

.hero::after, .services-hero::after, .contact-hero::after, .about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, var(--background-color));
    z-index: 0;
}

.hero > div, .services-hero > div, .contact-hero > div, .about-hero > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.hero > div::before, .services-hero > div::before, .contact-hero > div::before, .about-hero > div::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 300%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-title::before, .services-hero-title::before, .contact-hero-title::before, .about-hero-title::before {
    display: none;
}

.hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
    font-family: 'MonumentExtended', sans-serif;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0.5rem 2rem;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 0.1rem;
    max-width: 100%;
}

.hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
    width: 100%;
    max-width: 800px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0.5rem auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    color: var(--secondary-color);
}

/* Štýly pre sekciu služieb - grid layout pre karty služieb */
.services {
    width: 100%;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid layout pre karty služieb - responzívne rozloženie */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.service-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    min-height: 400px;
}

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

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 250px);
}

.service-title {
    font-family: 'SourceSansPro-Black', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-description {
    margin-bottom: 1rem;
    opacity: 0.8;
    flex-grow: 1;
    font-family: 'SourceSansPro-Regular', sans-serif;
}

.service-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--background-color);
}

.contact-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
}

.contact-btn:hover {
    background: var(--background-color);
    color: var(--secondary-color);
}

/* Štýly pre kontaktnú sekciu - centrovanie obsahu */
.contact-section {
    width: 100%;
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--background-color);
    margin-bottom: 2rem;
}

.section-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: var(--secondary-color);
    margin: 0 auto 2rem;
}

.collaboration-message {
    font-family: 'Montserrat Alternates', sans-serif;
    text-align: center;
    padding: 0 0 2rem;
    font-size: 1.5rem;
}

.contact-cta-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--secondary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid var(--secondary-color);
    font-weight: bold;
}

.contact-cta-btn:hover {
    background: var(--background-color);
    color: var(--secondary-color);
}

/* Štýly pre pätičku - flexbox layout a sociálne ikony */
.footer {
    width: 100%;
    background: var(--footer-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icon {
    width: 100%;
    height: 100%;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Services Page Specific Styles */
.services-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, var(--background-color));
}

.service-detail {
    display: flex;
    padding: 4rem 2rem;
    gap: 2rem;
    align-items: flex-start;
}

.service-detail:nth-child(odd) {
    background-color: var(--background-color);
}

.service-detail:nth-child(even) {
    background-color: var(--alternate-bg);
}

.service-detail-image {
    flex: 1;
    max-width: 33%;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.service-detail-content {
    flex: 2;
    padding: 0 2rem;
}

.service-detail-title {
    font-family: 'SourceSansPro-Black', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-detail-description {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    opacity: 0.9;
    line-height: 1.6;
    font-family: 'SourceSansPro-Regular', sans-serif;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--secondary-color);
    opacity: 0.8;
    font-family: 'SourceSansPro-Regular', sans-serif;
}

.service-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.floating-contact {
    position: fixed;
    right: -1px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 100;
}

.floating-contact .btn {
    transform: rotate(-90deg);
    transform-origin: right bottom;
    padding: 1rem 2rem;
    white-space: nowrap;
    border-radius: 25px 25px 0 0;
    background: var(--secondary-color);
    color: var(--background-color);
}

.floating-contact .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Contact Page Styles */
.contact-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, var(--background-color));
}

.contact-intro {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0%);
}

.contact-info-box {
    position: absolute;
    top: 150px;
    left: 50px;
    width: 300px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    z-index: 10;
}

.contact-info-title {
    font-family: 'SourceSansPro-Black', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-info-text {
    font-size: 1rem;
}

/* About Us Page Styles */
.about-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, var(--background-color));
}

.about-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-section:nth-child(odd) {
    background-color: var(--background-color);
}

.about-section:nth-child(even) {
    background-color: var(--alternate-bg);
}

.about-section-title {
    font-family: 'SourceSansPro-Black', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-section-content {
    color: var(--secondary-color);
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1.1rem;
    font-family: 'SourceSansPro-Regular', sans-serif;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.about-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--secondary-color);
    opacity: 0.8;
    font-family: 'SourceSansPro-Regular', sans-serif;
}

.about-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
}

.cta-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-btn:hover {
    background: var(--secondary-color);
    color: var(--background-color);
}

/* Responzívne štýly pre rôzne veľkosti obrazoviek */
@media (max-width: 1200px) {
    /* Úpravy pre veľké obrazovky */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail {
        flex-direction: column;
    }

    .service-detail-image {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .contact-info-box {
        left: 2rem;
    }

    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 3.5rem;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        max-width: 600px;
    }
}

@media (max-width: 992px) {
    /* Úpravy pre stredne veľké obrazovky */
    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 3rem;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        max-width: 600px;
    }

    .services {
        padding: 3rem 1.5rem;
    }

    .service-detail {
        padding: 3rem 1.5rem;
    }

    .contact-info-box {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin: 2rem 0;
    }
}

@media (max-width: 768px) {
    /* Úpravy pre tablety */
    .navbar {
        padding: 0.5rem;
    }

    .navbar-container {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navbar-bg);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--secondary-color);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 2.5rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .hero-title span, .services-hero-title span, .contact-hero-title span, .about-hero-title span {
        display: inline-block;
        white-space: nowrap;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        max-width: 400px;
    }

    .hero-subtitle, .collaboration-message, .cta-text {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-image {
        height: 200px;
    }

    .map-container {
        height: 400px;
    }

    .map-overlay {
        display: none;
    }

    .contact-info-box {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin: 2rem 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 10px;
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .contact-info-icon {
        margin-right: 1rem;
        font-size: 1.5rem;
        min-width: 30px;
        text-align: center;
    }

    .contact-info-text {
        font-size: 1rem;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Úpravy pre mobilné zariadenia */
    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 2rem;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        max-width: 300px;
    }

    .hero-subtitle, .collaboration-message, .cta-text {
        font-size: 1rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .btn, .contact-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .floating-contact {
        display: none;
    }

    .contact-info-box {
        padding: 1.5rem;
    }

    .contact-info-title {
        font-size: 1.2rem;
    }

    .contact-info-text {
        font-size: 0.9rem;
    }

    .service-card {
        min-height: 300px;
    }

    .service-image {
        height: 200px;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.8rem;
    }

    .btn, .contact-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .service-detail {
        padding: 2rem 1rem;
    }

    .service-detail-title {
        font-size: 1.5rem;
    }

    .service-detail-description {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .contact-info-box {
        padding: 1rem;
    }

    .contact-info-title {
        font-size: 1.1rem;
    }

    .contact-info-text {
        font-size: 0.8rem;
    }

    .map-container {
        height: 300px;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .about-section-content {
        font-size: 0.9rem;
    }

    .about-features li {
        font-size: 0.9rem;
    }

    .footer {
        padding: 1rem;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    /* Úpravy pre malé mobilné zariadenia */
    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 1.8rem;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        max-width: 250px;
    }

    .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 0.8rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

/* Špecifické štýly pre mobilné zariadenia */
@media (max-width: 480px) {
    /* Dodatočné úpravy pre mobilné zariadenia */
    .navbar {
        padding: 0.3rem;
    }

    .navbar-container {
        padding: 0.3rem;
    }

    .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 0.6rem;
    }

    .menu-toggle {
        font-size: 1.2rem;
    }

    .nav-links {
        padding: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 1.8rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        width: 200px;
    }

    .hero-subtitle, .collaboration-message, .cta-text {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .services {
        padding: 2rem 1rem;
    }

    .service-card {
        min-height: 300px;
    }

    .service-image {
        height: 150px;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.8rem;
    }

    .btn, .contact-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .service-detail {
        padding: 2rem 1rem;
    }

    .service-detail-title {
        font-size: 1.5rem;
    }

    .service-detail-description {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .contact-info-box {
        padding: 1rem;
    }

    .contact-info-title {
        font-size: 1.1rem;
    }

    .contact-info-text {
        font-size: 0.8rem;
    }

    .map-container {
        height: 300px;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .about-section-content {
        font-size: 0.9rem;
    }

    .about-features li {
        font-size: 0.9rem;
    }

    .footer {
        padding: 1rem;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    /* Úpravy pre najmenšie mobilné zariadenia */
    .hero-title, .services-hero-title, .contact-hero-title, .about-hero-title {
        font-size: 1.5rem;
    }

    .hero-divider, .services-hero-divider, .contact-hero-divider, .about-hero-divider {
        width: 180px;
    }

    .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 0.6rem;
    }

    .nav-links a {
        font-size: 0.7rem;
    }
}
