/* =========================================================
   GLOBAL SETTINGS
   ========================================================= */
body {
    padding-top: 80px;
}

/* Utility */
img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.custom-navbar {
    background-color: rgba(63, 170, 120, 0.95);
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.custom-navbar .nav-link {
    color: #000 !important;
    font-weight: 500;
}

.custom-navbar .nav-link:hover {
    background-color: rgba(255,255,255,0.4);
    border-radius: 6px;
}

.custom-navbar .nav-link.active {
    background-color: rgba(255,255,255,0.7);
    color: #000 !important;
    border-radius: 6px;
    padding: 6px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-weight: 600;
}

.custom-navbar .btn {
    border-color: #000;
    color: #000;
}

.custom-navbar .btn:hover {
    background-color: #fff;
    color: #444;
}

.navbar .bi {
    color: #222 !important;
    font-size: 1.2rem;
}

.navbar .bi:hover {
    color: #000 !important;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* =========================================================
   LOGO STRIP
   ========================================================= */
.logo-strip {
    background-color: rgba(63, 170, 120, 0.15);
    padding-top: 10px;
}

.main-logo {
    height: 200px;
    border-radius: 50%;
    margin-bottom: -20px;
    position: relative;
    z-index: 10;
    object-fit: cover;
}

.brand-title {
    margin-left: 20px;
}

.brand-title .site-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 350;
    margin: 0;
}

.brand-title .site-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin: 0;
    color: #555;
}
.site-tagline {
    margin-left: 150px!important;
    font-size: 1.2rem!important;
}

.logo-strip .container {
    align-items: center;
}

/* =========================================================
   HOMEPAGE BLOCKS
   ========================================================= */
#index-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}
#index-subtitle {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 25px;
}
#main-content {
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}
#main-content p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}
#main-content h3,
#main-content h4{
   text-align: center;
}

.patterned-bg {
    background: repeating-linear-gradient(
        45deg,
        rgba(63, 170, 120, 0.15),
        rgba(63, 170, 120, 0.15) 10px,
        rgba(63, 170, 120, 0.25) 10px,
        rgba(63, 170, 120, 0.25) 20px
    );
    border-radius: 10px;
}

.solid-bg {
    background-color: rgba(63, 170, 120, 0.10);
    border-radius: 10px;
}

/* =========================================================
   IMAGE CARDS + FOOTER CARDS
   ========================================================= */
.image-card {
    height: 100%;      
    overflow: hidden; 
    border-radius: 10px;
}

   .image-card img {
    width: 100%;
    height: 250px;      /* Itt add meg a fix magasságot (pl. 200px vagy 250px) */
    object-fit: cover;  /* Ez a kulcs: levágja a széleket, nem torzít */
    object-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: block;
}

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

.footer-card {
    background-color: rgba(63, 170, 120, 0.15);
    border-radius: 10px;
    transition: transform 0.2s ease;
}

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

/* =========================================================
   CTA BUTTON
   ========================================================= */
.main-action-btn {
    padding: 12px 28px;
    background-color: rgba(40, 50, 70, 0.9);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-action-btn:hover {
    background-color: rgba(30, 40, 60, 1);
    transform: translateY(-2px);
}

/* =========================================================
   QUILL EDITOR (ADMIN)
   ========================================================= */
.quill-editor,
.quill-editor-large {
    background: white;
    border: 1px solid #ccc;
}

.quill-editor {
    height: 150px;
}

.quill-editor-large {
    height: 400px;
    margin-bottom: 20px;
}

/* =========================================================
   QUILL CONTENT RENDERING
   ========================================================= */
#main-content,
#main-content * {
    all: revert;
}

#main-content img {
    max-width: 100%;
}

/* Universal Quill alignment rules */
.ql-align-left { text-align: left !important; }
.ql-align-center { text-align: center !important; }
.ql-align-right { text-align: right !important; }
.ql-align-justify { text-align: justify !important; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
/* A kártya alapja */
.row {
    display: flex;
    flex-wrap: wrap;
}
.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}


/* 1) Háttérkép blur réteg */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit; /* ugyanaz a háttérkép */
    background-size: cover;
    background-position: center;
    filter: blur(2px); /* fontos: filter, nem backdrop-filter */
    transform: scale(1.1); /* blur szélek eltüntetése */
    z-index: 1;
}

/* 2) Halványító overlay (szöveg alatt, blur felett) */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75); 
    z-index: 2;
}

.service-card:hover::before {
    filter: blur(10px) brightness(0.65);
}


/* 3) Tartalom (mindkét overlay fölött) */
.service-overlay {
    position: relative;
    z-index: 3;        
    height: 100%;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.card-header-area h3,
.card-header-area h5 {
    margin: 0 0 10px 0;
}

.card-body-area {
    flex-grow: 1;
}

.card-footer-area {
    margin-top: auto;
    padding-top: 15px;
}

/* Button */
.btn-mezo {
    background-color: #2BBBAD;
    border-color: #2BBBAD;
    color: #000000;
    font-weight: 600;
    transition: 0.2s ease-in-out;
}

.btn-mezo:hover {
    background-color: #1F8A70;
    border-color: #1F8A70;
}

/* =========================================================
   KAPCSOLAT OLDAL
   ========================================================= */

.contact-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(63, 170, 120, 0.4);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons a {
    font-size: 1.3rem;
    margin-right: 10px;
    color: #3FAA78;
    transition: 0.2s ease;
}

.social-icons a:hover {
    color: #1F8A70;
}

.contact-form {
    background: rgba(63, 170, 120, 0.10);
    border: 1px solid rgba(63, 170, 120, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* =========================================================
   RÓLUNK OLDAL
   ========================================================= */

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    object-fit: cover;
}

.about-details {
    background: rgba(63, 170, 120, 0.10);
    border: 1px solid rgba(63, 170, 120, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-quote {
    background: rgba(63, 170, 120, 0.20);
    border-left: 6px solid rgba(63, 170, 120, 0.6);
    font-size: 1.3rem;
    font-style: italic;
    color: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}