/* Frontend stílusok - FruitUniversum design */

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

/* Betűtípus beállítások - az eredeti oldal szerint */
body {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.nav > li > a,
.frontend-header .nav-link {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6,
.heading-font,
.banner h1,
.banner h2 {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.alt-font {
    font-family: Poppins, sans-serif;
    font-weight: 600 !important;
    font-style: normal !important;
}

:root {
    --primary-color: #c4c4c4;
    --primary-dark: #a0a0a0;
    --secondary-color: #de0794;
    --text-color: #000000;
    --text-light: #333333;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --header-bg: #000000;
    --footer-bg: #000000;
}

body {
    font-family: Poppins, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 400;
    font-style: normal;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: #333333;
    font-weight: 700;
}

/* Header */
.frontend-header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.frontend-header .navbar {
    background: var(--header-bg) !important;
}

.frontend-header .navbar {
    padding: 0;
    min-height: 69px;
    height: 69px;
}

.frontend-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    padding: 0;
    width: 120px;
    display: flex;
    align-items: center;
}

.frontend-header .navbar-brand img {
    max-height: 69px;
    width: auto;
    height: auto;
    max-width: 120px;
}

.frontend-header .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: none;
    line-height: 16px;
    display: flex;
    align-items: center;
}

.frontend-header .nav-link:hover {
    color: #ffffff !important;
}

.frontend-header .navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* Hero szekció */
.hero-section {
    background-image: url('/uploads/frontend/images/hero-bg.webp');
    background-size: cover;
    background-position: 50% 62%;
    background-repeat: no-repeat;
    color: white;
    padding-top: 88vh;
    padding-bottom: 60px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-section h1,
.hero-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.hero-section .lead {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color: white;
    line-height: 1.6;
}

.hero-section .btn-hero {
    padding: 5px 30px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: lowercase;
}

.hero-section .btn-hero:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
}

/* Page Hero szekció (aloldalakhoz) */
.page-hero-section {
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    margin-bottom: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.page-hero-section > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero-section h1,
.page-hero-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
    color: white;
}

.page-hero-section h1 strong,
.page-hero-section h2 strong {
    font-weight: 700;
}

/* Szekciók */
.section {
    padding: 60px 0;
    position: relative;
}

.section:first-of-type {
    padding-top: 60px;
}

.section.dark {
    background-color: #f1f1f1;
    padding: 80px 0;
}

.section-content {
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Kártyák */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #20c997);
    z-index: 1;
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-card .icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card .card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.service-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card-link:hover .card-image {
    transform: scale(1.05);
}

.service-card .card-text {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
    flex: 1;
}

/* Bemutatkozás szekció */
.intro-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.intro-section .content {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--text-light);
}

.intro-section .content p {
    margin-bottom: 1.8rem;
}

/* Footer */
.frontend-footer {
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    background-color: var(--footer-bg) !important;
}

html {
    background-color: var(--footer-bg);
}

.frontend-footer h5 {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.frontend-footer a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.frontend-footer a:hover {
    opacity: 0.8;
}

.frontend-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Container max-width */
.container {
    max-width: 1270px;
}

.row {
    max-width: 1270px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 60vh;
        padding-bottom: 40px;
        min-height: 70vh;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .page-hero-section {
        padding: 50px 0;
    }
    
    .page-hero-section h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-image {
        height: 180px;
    }
    
    .frontend-header .navbar {
        min-height: 70px;
        height: 70px;
    }
    
    .frontend-header .navbar-brand {
        width: auto;
    }
    
    .frontend-header .navbar-brand img {
        max-height: 70px;
    }
    
    .content-area h2 {
        font-size: 1.6rem;
        margin-top: 2rem;
    }
    
    .content-area h3 {
        font-size: 1.3rem;
    }
    
    .content-area img {
        margin: 1.5rem 0;
    }
    
    .content-area .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .sidebar-content {
        margin-top: 0;
        margin-bottom: 2rem;
    }
    
    .page-hero-section {
        padding: 60px 0;
        min-height: 200px;
    }
    
    .page-hero-section h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section.dark {
        padding: 50px 0;
    }
    
    .content-area .row {
        margin-bottom: 2rem;
    }
    
    .content-area .row.align-items-center {
        flex-direction: column;
    }
    
    .content-area .row.align-items-center > div {
        margin-bottom: 1.5rem;
    }
    
    .content-area .row.align-items-center > div:last-child {
        margin-bottom: 0;
    }
}

/* Gombok */
.btn-primary,
.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    color: #020202;
}

/* Tartalom formázás */
.content-area {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    padding: 0;
}

#content.content-area {
    padding: 0;
    margin: 0;
}

.content-area h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 0.5rem;
    border-bottom: none;
}

.content-area h2:first-child {
    margin-top: 0;
}

.content-area .row h2 {
    border-bottom: none;
    margin-top: 0;
}

.content-area h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333333;
    font-family: 'Poppins', sans-serif;
}

.content-area .highlight-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #000000;
}

.content-area .d-flex.align-items-start {
    margin-bottom: 1rem;
}

.content-area .d-flex.align-items-start:last-child {
    margin-bottom: 0;
}

.content-area h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333333;
    font-family: 'Poppins', sans-serif;
}

.content-area p {
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.9;
    font-size: 1rem;
}

.content-area p:last-child {
    margin-bottom: 0;
}

.content-area ul,
.content-area ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-area li {
    margin-bottom: 0.8rem;
    color: #000000;
    line-height: 1.8;
}

.content-area a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.content-area a:hover {
    color: #020202;
    text-decoration: underline;
}

.content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

.content-area .row {
    margin-bottom: 2rem;
}

.content-area .row:last-child {
    margin-bottom: 0;
}

.content-area .row img {
    margin: 0;
}

.content-area .mb-5 {
    margin-bottom: 3rem !important;
}

.content-area .align-items-center {
    align-items: center;
}

.content-area blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.content-area table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.content-area table th,
.content-area table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

.content-area table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
}

.content-area table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Sidebar */
.sidebar-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.sidebar-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Kiemelés */
.highlight-box {
    background: #e8f5e9;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.highlight-box p {
    margin-bottom: 1rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Képek */
img.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Row és Column stílusok a content-area-ban */
.content-area .row {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 3rem;
}

.content-area .row:last-child,
.content-area .row:last-child {
    margin-bottom: 0;
}

.content-area .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.content-area .row.align-items-center {
    display: flex;
    align-items: center;
}

.content-area .row.align-items-center > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-area .row.align-items-center img {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-area .row.align-items-center h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.content-area .row.align-items-center p {
    margin-bottom: 1.5rem;
}

/* Kiemelt dobozok */
.content-area .highlight-box {
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-area .highlight-box[style*="background-color: rgba(254, 232, 210, 0.541)"] {
    background-color: rgba(254, 232, 210, 0.541) !important;
    border-left: none;
}

.content-area .highlight-box h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
    color: #333333;
}

.content-area .highlight-box p {
    color: #000000;
    margin-bottom: 1rem;
}

.content-area .highlight-box p:last-child {
    margin-bottom: 0;
}

.content-area .highlight-box a {
    color: var(--secondary-color);
}

.content-area .highlight-box a:hover {
    color: #020202;
}

