@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
    /* Színpaletta */
    --primary-color: #ff9a76;
    --primary-light: #ffd1a9;
    --secondary-color: #6d4c41;
    --accent-color: #f08a5d;
    --bg-color: #fdf5ed;
    --card-bg: #ffffff;
    --footer-bg: #fdf2e9;
    --text-main: #4b2e2e;
    --text-muted: #7d5a50;
    
    /* Távolságok és méretek */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(240, 138, 93, 0.25);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main-header, main-footer {
    display: block;
}

/* HEADER & NAV */
header {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    border-bottom: 2px solid rgba(255, 154, 118, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

header .logo {
    max-height: 60px;
    transition: var(--transition);
}

header h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar a, .dropbtn {
    text-decoration: none;
    color: var(--text-main);
    padding: 0.8rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.navbar a:hover, .dropbtn:hover {
    background-color: var(--primary-light);
    color: var(--accent-color);
}

/* Dropdown Stílusok */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff4e6;
    min-width: 280px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: var(--radius-md);
    overflow: hidden;
    top: 100%;
    right: 0;
    border: 2px solid var(--primary-light);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 0.8rem 1rem;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: white;
    color: var(--accent-color);
    padding-left: 1.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    opacity: 0.7;
}

/* Mobil Menü (1150px alatt) */
@media (max-width: 1150px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 6px;
        padding: 12px;
        background: white;
        border-radius: var(--radius-sm);
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
        background-color: var(--secondary-color);
        transition: var(--transition);
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        right: 5%;
        background-color: #fff4e6;
        border-radius: var(--radius-md);
        padding: 1.5rem;
        min-width: 300px;
        box-shadow: 0 15px 35px rgba(75, 46, 46, 0.2);
        border: 2px solid var(--primary-light);
        z-index: 1001;
        align-items: stretch;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a, .dropbtn {
        padding: 0.8rem 1rem;
    }

    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        min-width: 100%;
    }

    .dropdown-content a {
        padding-left: 2rem;
    }
    
    .dropbtn {
        background-color: var(--primary-light);
        margin-top: 0.5rem;
        pointer-events: none;
    }
}

/* MAIN CONTENT */
main {
    flex: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.container-1-1-1 {
    text-align: center;
    padding: 4rem 0;
}

.img_index {
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
    border-radius: var(--radius-lg);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.container-1-2-2 {
    display: grid;
    grid-template-columns: 0.6fr 2.8fr 0.6fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 5rem;
}

.content-index {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.content-index h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.content-index p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.img_pc {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

/* SERVICES GRID */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 4rem 0 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.container-2 {
    flex: 0 1 calc(33.333% - 1.34rem);
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
    height: auto;
}

@media (max-width: 992px) {
    .container-2 {
        flex: 0 1 calc(50% - 1rem);
    }
}

@media (max-width: 650px) {
    .container-2 {
        flex: 0 1 100%;
    }
}

.container-2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.container-2 .name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.container-2 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.link {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 154, 118, 0.3);
}

.link:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 154, 118, 0.4);
}

/* SUBPAGES CONTENT */
.content {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    max-width: 900px;
    margin: 2rem auto;
}

.content h1 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

.main-ul {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    border-left: 6px solid var(--primary-color);
    box-shadow: inset 0 0 20px rgba(255, 154, 118, 0.05);
    list-style-type: disc;
}

.main-ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.main-ul li:last-child {
    margin-bottom: 0;
}

.main-ul ul {
    margin: 0.5rem 0 0.5rem 1rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    list-style-type: circle;
}

.main-ul ul li {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

/* FOOTER */
footer {
    background: linear-gradient(to top, #fff4e6 0%, var(--footer-bg) 100%);
    padding: 5rem 5%;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    border-top: 3px solid var(--primary-light);
    box-shadow: 0 -10px 30px rgba(75, 46, 46, 0.05);
    position: relative;
    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-label {
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-link, .footer-text {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

a.footer-link {
    color: var(--accent-color);
    display: inline-block;
}

a.footer-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(240, 138, 93, 0.15);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    footer {
        grid-template-columns: repeat(2, 1fr);
        padding: 4rem 10%;
    }
}

@media (max-width: 650px) {
    footer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 2.5rem;
    }
    
    .footer-column {
        align-items: center;
    }
}

@media (max-width: 1100px) {
    .container-1-2-2 {
        grid-template-columns: 1fr;
    }
    
    .container-1-2-2 img {
        display: none;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 2rem 1.5rem;
    }
    
    footer .pc {
        display: none;
    }
    
    footer .mobile {
        display: block;
        margin-bottom: 1.5rem;
    }
    
    footer .mobile.data {
        font-weight: 600;
        margin-top: -1rem;
        margin-bottom: 2rem;
    }
}
