/* styles.css */

/* Általános stílusok */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #d32f2f;
}

p {
    margin-bottom: 1rem;
}

/* Fejléc */
header {
    background: #000;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcdd2;
}

/* Hero szakasz */
.hero {
    background: url('placeholder-hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h2, .hero p, .hero .btn {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .btn {
    background: #d32f2f;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #b71c1c;
}

/* Szolgáltatások */
.services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.services ul li {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Kapcsolat */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact form input, .contact form textarea, .contact form button {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact form button {
    background: #d32f2f;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact form button:hover {
    background: #b71c1c;
}

/* Hírlevél */
.newsletter {
    background: #f5f5f5;
    padding: 2rem 1rem;
}

.newsletter form input, .newsletter form button {
    padding: 0.8rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Lábléc */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

footer a {
    color: #d32f2f;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Animációk */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero h2, .hero p {
    animation: fadeIn 1s ease;
}
