/* Font Poppins koristi se iz Google Fonts */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #caa94d;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: 0.3s;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border: 1px solid #ddd;
    text-decoration: none;
}

.lang-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lang-flag.active {
    box-shadow: 0 0 0 2px var(--secondary-color);
    transform: scale(1.05);
}

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

/* Flag colors as fallback */
.lang-flag[data-lang="sr"] {
    background: linear-gradient(to bottom, #c41e3a 33%, #0c4076 33%, #0c4076 66%, #ffffff 66%);
}

.lang-flag[data-lang="de"] {
    background: linear-gradient(to bottom, #000000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%);
}

.lang-flag[data-lang="en"] {
    background: 
        /* St. George's Cross - Red vertical */
        linear-gradient(to right, transparent 45%, #ce1124 45%, #ce1124 55%, transparent 55%),
        /* St. George's Cross - Red horizontal */
        linear-gradient(to bottom, transparent 45%, #ce1124 45%, #ce1124 55%, transparent 55%),
        /* St. George's Cross - White outline vertical */
        linear-gradient(to right, transparent 40%, white 40%, white 60%, transparent 60%),
        /* St. George's Cross - White outline horizontal */
        linear-gradient(to bottom, transparent 40%, white 40%, white 60%, transparent 60%),
        /* St. Patrick's Cross - Red diagonal */
        linear-gradient(45deg, transparent 46%, #ce1124 46%, #ce1124 50%, transparent 50%, transparent 50%, #ce1124 50%, #ce1124 54%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, #ce1124 46%, #ce1124 50%, transparent 50%, transparent 50%, #ce1124 50%, #ce1124 54%, transparent 54%),
        /* St. Andrew's Cross - White diagonal */
        linear-gradient(45deg, transparent 44%, white 44%, white 56%, transparent 56%),
        linear-gradient(-45deg, transparent 44%, white 44%, white 56%, transparent 56%),
        /* Blue background */
        #012169;
    background-size: 100% 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: ;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    width: 100%;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.4);
    font-weight: 400;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 2px 8px rgba(231, 76, 60, 0.4);
    border: 2px solid rgba(255,255,255,0.2);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 4px 12px rgba(231, 76, 60, 0.5);
}

/* Services Grid */
.services-grid {
    padding: 4rem 0;
    background: var(--light-gray);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* About Preview */
.about-preview {
    padding: 4rem 0;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

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

    .nav-links li {
        margin: 1rem 0;
    }


    .hero h1 {
        font-size: 2rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.6);
        letter-spacing: 0.5px;
    }

    .hero p {
        font-size: 1.2rem;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.5);
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

/* Services Page Styles */
.services-page {
    padding: 120px 0 4rem;
}

.services-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.service-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

.service-details h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-details h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

.service-details ul {
    list-style: none;
    padding-left: 1rem;
}

.service-details ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
    }

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

    .services-page {
        padding: 100px 0 2rem;
    }
}

/* About Page Styles */
.about-page {
    padding: 120px 0 4rem;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.about-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.about-text h2:first-child {
    margin-top: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
    padding-left: 1rem;
}

.about-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

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

.values-section {
    padding: 4rem 0;
    background: var(--light-gray);
    border-radius: 10px;
}

.values-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 300px;
        min-height: 300px;
    }

    .about-page {
        padding: 100px 0 2rem;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 120px 0 4rem;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Form Styles */
.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #c0392b;
}

.submit-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Contact Info Styles */
.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    line-height: 1.6;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
}

/* Map Section Styles */
.map-section {
    margin-top: 4rem;
    width: 100%;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-page {
        padding: 100px 0 2rem;
    }

    .map-section h2 {
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
} 
.clean-style {
    background-color: #fefefe;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.clean-style .info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.clean-style .info-list li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.clean-style .icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.clean-style .info-list a {
    color: #0056b3;
    text-decoration: none;
}

.clean-style .info-list a:hover {
    color: #007bff;
}

.clean-style .map-container {
    margin: 20px auto;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-circle {
    width: 60px;
    height: 60px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.4rem;
    color: #333;
}

.social-circle:hover {
    background-color: #ddd;
    color: #000;
}

.info-list,
.info-list li {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
}

.language-switcher {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-right: 10px;
  position: absolute;
  top: 15px;
  right: 10px;
  z-index: 1100;
}

/* Sticky top navigation */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Mobilni prikaz */
@media (max-width: 768px) {
  .logo-text {
    visibility: hidden;
    position: relative;
  }

  .logo-text::after {
    content: 'MSD&E';
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

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

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: 0.3s ease;
  }

}

@media (max-width: 768px) {
  .navbar .container {
    position: relative;
  }

  .language-switcher {
    position: absolute;
    top: 14px;
    right: 50px;
    display: flex;
    gap: 5px;
    z-index: 1101;
  }

  .hamburger {
    position: absolute;
    top: 14px;
    right: 10px;
    z-index: 1102;
  }
}

/* Footer link styles */
footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}