/* Import Google Fonts (Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* CSS Variables for easier maintenance */
:root {
    --primary-color: #f72702;
    --secondary-color: #f3db00;
    --background-dark: #121212;
    --background-light: #2A2A2A;
    --hover-color: #FF4500;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Smooth scrolling for better navigation */
}

/* Body and general styles */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    line-height: 1.8;
    color: var(--secondary-color);
    background-color: var(--background-dark);
    text-align: center;
}

/* Header styles */
header {
    background: url('https://cdn.pixabay.com/photo/2022/02/21/07/00/couple-7025933_1280.jpg') center/cover no-repeat;
    padding: 100px 20px 50px;
    text-align: center;
    color: white;
    height: 450px;
}

header h1 {
    font-size: 3em;
    margin: 0;
    font-weight: 600;
}

.subtitle {
    font-size: 3em;
    color: var(--primary-color);
    margin-top: 5px;
    font-weight: normal;
}

/* Navigation styles */
nav ul {
    list-style: none;
    padding: 10px;
    margin-top: 20px;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 24px;
    padding: 15px 30px;
    background-color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
}

/* Active page indicator */
nav ul li a.active {
    border-bottom: 3px solid var(--primary-color);
}

/* Section styles */
section {
    margin-bottom: 50px;
    padding: 60px 20px;
}

section h2 {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

section p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Benefits section */
#benefits {
    background-color: var(--background-light);
}

.benefits-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    background-color: #333;
    padding: 25px;
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.benefit-item h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 700;
}


/* Opći stil za gumbe */
button, .cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hover efekt za sve gumbe */
button:hover, .cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
}

/* Gumb za državni popis */
#showCountryChannelsBtn, .country-toggle {
    background-color: #333;
    color: white;
    display: block;
    text-align: left;
    margin: 10px 0;
}

/* Hover efekt za državni gumb */
#showCountryChannelsBtn:hover, .country-toggle:hover {
    background-color: var(--hover-color);
}
/* Gumb za sportske kanale */
#showCountryChannelsBtn {
    margin-top: 20px;
}

/* Gumb za sportske kanale */
#showSportsChannelsBtn {
    margin-top: 20px;
}

/* Stil za mobilne uređaje */
@media (max-width: 768px) {
    button, .cta-button {
        font-size: 1em;
        padding: 12px 24px;
    }
}

/* Modalni prozor */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: rgb(0, 0, 0);
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

/* Stil za tablicu u modalu (sportski kanali i države) */
.sports-table, .country-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.sports-table th, .sports-table td, .country-table th, .country-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #555;
    text-align: left;
}

.sports-table th, .country-table th {
    background-color: var(--primary-color);
    color: white;
}

/* Animacija za pojavljivanje modala */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsivnost modala */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }

    #showSportsChannelsBtn {
        font-size: 1em;
        padding: 12px 24px;
    }
}

/* Sakrivanje elemenata po defaultu */
.hidden {
    display: none;
}

/* Stil za državni gumb */
.country-toggle {
    display: block;
    width: 100%;
    padding: 15px 25px;
    font-size: 1.5em;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.country-toggle:hover {
    background-color: var(--hover-color);
}


/* Testimonials section */
#testimonials {
    background-color: #1E1E1E;
}

.testimonial-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-item {
    background-color: #333;
    padding: 30px;
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.4em;
}

.testimonial-item p {
    margin-bottom: 15px;
}

/* Footer styles */
footer {
    background-color: #1E1E1E;
    color: var(--secondary-color);
    padding: 25px 20px;
    margin-top: 30px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin: 15px 0;
}

footer ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.5em;
}

footer ul li a:hover {
    color: var(--primary-color);
}

/* Social link colors */
.whatsapp-link {
    color: #25D366;
}

.viber-link {
    color: #665CAC;
}

.facebook-link {
    color: #3b5998;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 18px; /* Manja veličina fonta za mobilne uređaje */
    }

    /* Header */
    header h1 {
        font-size: 2.5em; /* Smanjenje veličine naslova */
    }

    .subtitle {
        font-size: 1.5em; /* Smanjenje veličine podnaslova */
    }

    /* Navigation */
    nav ul {
        padding: 10px;
        text-align: center;
    }

    nav ul li {
        display: block; /* Ovisno o ekranu, staviti stavke u novi red */
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
        padding: 12px 20px;
    }

    /* Benefits section */
    .benefits-container {
        flex-direction: column; /* Svi benefiti jedan ispod drugog */
        gap: 20px;
    }

    .benefit-item {
        width: 100%; /* Stavljanje svih stavki u 100% širinu za mobilne uređaje */
    }

    /* Testimonial section */
    .testimonial-container {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-item {
        width: 100%;
    }

    /* Footer */
    footer ul li {
        font-size: 1.2em;
    }

    /* Modals */
    .modal-content {
        width: 95%; /* Modal se širi do većeg dijela ekrana na mobilnim uređajima */
    }

    /* Buttons */
    button, .cta-button {
        font-size: 1.1em;
        padding: 12px 24px;
    }
}

