/* General Styles */
body {
    font-family: 'Poiret One', cursive;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #E20074; /* T-Com Magenta */
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Floating header */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 30px; /* Adjust as needed */
    width: auto;
}

/* Slider Section */
#slider {
    margin-top: 70px; /* To account for fixed header */
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slide-container {
    position: relative;
    width: 100%;
    margin: auto;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.slide-text br {
    display: block;
    margin-bottom: 10px;
}

.slide-text:first-line {
    font-size: 1.5em;
    font-weight: bold;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Dots */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Offer Section */
#ponuda {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

#ponuda h2 {
    color: #E20074;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.tables-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.table-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
    background-color: #f9f9f9;
}

.table-wrapper h3 {
    color: #E20074;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.table-wrapper ul {
    list-style: none;
    padding: 0;
}

.table-wrapper ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 1.1em;
}

.table-wrapper ul li:last-child {
    border-bottom: none;
}

/* T-Partner Section */
#t-partner {
    padding: 40px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

#t-partner h2 {
    color: #E20074;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.t-partner-logo {
    max-width: auto;
    height: 100px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-size: 1.3em;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-content p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-text {
        font-size: 2em;
    }
    .slide-text:first-line {
        font-size: 1.2em;
    }
    .tables-container {
        flex-direction: column;
        align-items: center;
    }
    .table-wrapper {
        width: 100%;
        max-width: 400px; /* Ograničavam maksimalnu širinu za bolji izgled na tabletima */
    }
    .footer-content {
        flex-direction: column;
        gap: 26px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }
    .logo {
        height: 40px;
    }
    .slide-text {
        font-size: 1.5em;
    }
    .slide-text:first-line {
        font-size: 1em;
    }
    #ponuda h2, #t-partner h2 {
        font-size: 2em;
    }
    .table-wrapper h3 {
        font-size: 1.5em;
    }
    .t-partner-logo {
        max-width: 200px;
    }
    footer {
        padding: 20px 10px;
    }
    .footer-content {
        gap: 15px;
    }
}