* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

body {
    background: url('/img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    width: 90%;
    max-width: 1100px;
    height: 85vh;
}

.content-box {
    background: rgba(255, 255, 255, 0.15); /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: white;
    text-align: center;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Main Hero Section */
.hero-main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 40px 0;
}

.hero-text h1 {
    font-size: 2rem;
    max-width: 400px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.circle-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Grid */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.service-card {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.service-card h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.social-icons span {
    margin-left: 10px;
    cursor: pointer;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
}

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

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 50, 100, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    body {
        align-items: flex-start;
        padding: 20px 0;
    }

    .hero-container {
        height: auto;
        min-height: auto;
    }

    .hero-main {
        flex-direction: column;
        gap: 20px;
        min-height: 500px;
        margin: 30px 0;
    }

    .circle-img {
        width: 150px;
        height: 150px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

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

    footer {
        flex-direction: column;
        gap: 15px;
    }

    .content-box {
        padding: 20px;
    }
}

/* Services Page Styles */
.services-page .hero-container {
    height: auto;
    min-height: 85vh;
    margin: 40px auto;
}

.services-page .content-box {
    justify-content: flex-start;
    overflow-y: auto;
}

.services-content {
    flex: 1;
    padding: 20px 0;
    text-align: left;
}

.services-content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.service-text h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-text h2 i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.service-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.service-text ul {
    list-style: none;
    padding-left: 0;
}

.service-text ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.service-text ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive for Services Page */
@media (max-width: 768px) {
    .services-content h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        direction: ltr;
    }

    .service-image img {
        height: 200px;
    }

    .service-text h2 {
        font-size: 1.2rem;
    }

    .service-text p {
        font-size: 0.9rem;
    }

    .service-text ul li {
        font-size: 0.85rem;
    }
}

/* Additional styles for poradenstvi page */
.intro-section {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.intro-text strong {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

.experience-box {
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.experience-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.experience-box h2 i {
    margin-right: 15px;
    color: rgba(255, 215, 0, 0.9);
}

.experience-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .intro-text {
        font-size: 1rem;
    }

    .experience-box {
        padding: 25px;
    }

    .experience-box h2 {
        font-size: 1.4rem;
    }

    .experience-box p {
        font-size: 0.95rem;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.project-image {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-details h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.project-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta i {
    color: rgba(255, 255, 255, 0.7);
}

.project-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    text-align: justify;
}

.project-specs {
    margin-top: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-specs h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.project-specs ul {
    list-style: none;
    padding-left: 0;
}

.project-specs ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-specs ul li:before {
    content: "▪";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.project-specs ul li strong {
    color: rgba(255, 255, 255, 1);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* Mobile Responsive for Carousel */
@media (max-width: 768px) {
    .carousel-slide.active {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carousel-wrapper {
        min-height: auto;
    }

    .project-image img {
        min-height: 250px;
        height: 250px;
    }

    .project-details h2 {
        font-size: 1.4rem;
    }

    .project-meta {
        font-size: 0.8rem;
        gap: 15px;
    }

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

    .project-specs {
        padding: 15px;
    }

    .project-specs h3 {
        font-size: 1rem;
    }

    .project-specs ul li {
        font-size: 0.85rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info-section,
.contact-form-section {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.contact-info-section h2 i,
.contact-form-section h2 i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.contact-details p,
.contact-details a {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

.contact-details a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-links {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: rgba(0, 50, 100, 0.95);
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-message {
    margin-top: 20px;
    display: none;
}

.success-message {
    padding: 15px;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message i {
    font-size: 1.2rem;
    color: rgba(46, 204, 113, 1);
}

.contact-cta {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.contact-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-cta p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 20px;
    }

    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.3rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-icon i {
        font-size: 1.1rem;
    }

    .contact-details h3 {
        font-size: 0.95rem;
    }

    .contact-details p,
    .contact-details a {
        font-size: 0.9rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-btn {
        font-size: 0.95rem;
        padding: 12px 25px;
    }

    .contact-cta {
        padding: 20px;
    }

    .contact-cta h2 {
        font-size: 1.3rem;
    }

    .contact-cta p {
        font-size: 0.9rem;
    }
}