/* style.css */

:root {
    --primary-color: #336699;
    --secondary-color: #666666;
    --accent-color: #f23818;
    --text-color: #666;
    --footer-bg: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

strong { font-weight: 700; color: var(--primary-color); }

/* Top Logos */
.top-logos {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.top-logos img {
    max-height: 100px;
}

/* Header */
.header-main {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    text-transform: uppercase;
    
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.lang-active {
    font-weight: 600;
    color: var(--primary-color);
}

.lang-link {
    color: var(--text-color);
    text-decoration: none;
}

.lang-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 103, 145, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-bottom: 50px;
}

.hero-logo-holder {
  display: inline-block;
  float: right;
  padding: 20px 0px 20px 0px;
  border-right: 3px solid white;
}

.hero-logo {
  background-color: #ffffff;
    border: 20px solid white;
    max-width: 230px;
    /*filter: brightness(0) invert(0);*/
}

.hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.0;
    font-weight: 700;
    width: 65%;
}

/* About Section */
.about-section {
    background: #fff;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.section-subtitle {
    font-size: 1.3em;
    font-weight: 500;
    
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin: 15px 0;
    font-size: 1.2rem;
}

/* Keywords Section */
.keywords-section {
    /*background: var(--accent-color);*/
    overflow-x: auto;
}

.keywords-wrapper {
    display: flex;
    flex-wrap: wrap;
    /*gap: 20px;*/
    justify-content: center;
    align-items: center;
}

.keyword-item {
  font-family: "Roboto Condensed";
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff; 
    background-color: var(--secondary-color);
    /*white-space: nowrap;*/
    margin: 5px;
    padding: 10px;
}

/* Galvanizálás Section */
.galvanizalas-section {
    background: #eee;
    background-image: url('../images/bg_topology.svg');
    background-size: cover;
    background-position: center top;
    font-size: 1.3em;
}

.section-title {
    font-size: 3.0rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
}

.service-image img {
    transition: transform 0.3s;
}

.service-image:hover img {
    transform: scale(1.05);
}

.felulet-img { 
  border: 3px solid var(--primary-color);
}
/* Kereskedelem Section */
.kereskedelem-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-image: url('../images/kornyezetvedelem_bg.webp');
    background-attachment: fixed;
    background-size: cover;
    font-size: 1.3em;
}

.partner-logo {
    max-width: 100%;
    background: #fff;
    padding: 30px;
    /*border-radius: 10px;*/
    transition: transform 0.3s;
}

.partner-logo-link:hover .partner-logo {
    transform: translateY(-5px);
}

.contact-buttons .btn {
    font-size: 1.15rem;
    color: #666666;
}

/* CTA Section */
.cta-section {
    background: var(--accent-color);
    font-size: 27px;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.cta-section a { font-size: 2.0rem; color: var(--accent-color); }

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #004d8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,104,180,0.3);
}

/* Footer */
.footer-main {
    background: var(--footer-bg);
    color: #fff;
}

.footer-main a { text-decoration: none; color: #eeeeee; }
.footer-logo {
    max-width: 150px;
    filter: brightness(0) invert(1);
}

.footer-main h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-main p {
    color: #ffffff;
    font-size: 0.95rem;
}

/* Copyright */
.copyright {
    background: #333333;
    color: #999;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .keyword-item {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        width: 100%;
    }
    
    .hero-logo-holder {
      border-bottom: 3px solid white;
      padding: 0px 20px 0px 20px;
      border-right: 0px solid white;
      margin-bottom: 10px;
      float: none;
    }
    
    .hero-content {
        padding-bottom: 30px;
    }
    
    .keywords-wrapper {
        /*flex-direction: column;
        align-items: flex-start;*/
    }
    
    .keyword-item {
        font-size: 1rem;
    }
}

.title-container {
  background-color: #e6e6e6;
  background-image: url('../images/bg_topology.svg');
  background-size: cover;
  background-position: center top;
  padding: 20px;
  margin-bottom: 15px;
}

h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 200;
  font-size: 50px;
  color: var(--primary-color);
  padding-left: 15px;
  border-left: 3px solid var(--accent-color);
}

p, li { font-size: 20px; color: #666; }

.list-group-item { font-size: 20px; line-height: 30px; color: #666; font-weight: 400; }

.fas { color: var(--primary-color); }

a { text-decoration: none; color: var(--primary-color); }